package com.usian;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * @Author:方宇博
 * @ClassName: OrderApplication
 * @Date: 2024/12/6
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.usian.order"})
@EnableFeignClients(basePackages ={"com.usian.order.feign"})
@MapperScan("com.usian.order.mapper")
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}